[INFO] fetching crate ntex-bytes 0.1.15...
[INFO] checking ntex-bytes-0.1.15 against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] extracting crate ntex-bytes 0.1.15 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate ntex-bytes 0.1.15 on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ntex-bytes 0.1.15
[INFO] finished tweaking crates.io crate ntex-bytes 0.1.15
[INFO] tweaked toml for crates.io crate ntex-bytes 0.1.15 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ntex v0.5.20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2fa0e48b04f72288cf1b339810ad80dc3f826a6d4feee3b858fc6fdb67084eb0
[INFO] running `Command { std: "docker" "start" "-a" "2fa0e48b04f72288cf1b339810ad80dc3f826a6d4feee3b858fc6fdb67084eb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fa0e48b04f72288cf1b339810ad80dc3f826a6d4feee3b858fc6fdb67084eb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fa0e48b04f72288cf1b339810ad80dc3f826a6d4feee3b858fc6fdb67084eb0", kill_on_drop: false }`
[INFO] [stdout] 2fa0e48b04f72288cf1b339810ad80dc3f826a6d4feee3b858fc6fdb67084eb0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98906d5b32809f33dd8eced6768d1d53dc27378b81ede57793702f05f12ccdd3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "98906d5b32809f33dd8eced6768d1d53dc27378b81ede57793702f05f12ccdd3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking cache-padded v1.2.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking event-listener v2.5.2
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling serde_test v1.0.137
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking nanorand v0.6.1
[INFO] [stderr]     Checking concurrent-queue v1.2.2
[INFO] [stderr]     Checking futures-micro v0.5.0
[INFO] [stderr]     Checking ntex-service v0.3.1
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking async-oneshot v0.5.0
[INFO] [stderr]     Checking async-channel v1.6.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking polling v2.2.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking ntex-http v0.1.1
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking tokio v1.19.2
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking ntex-rt v0.4.5
[INFO] [stderr]     Checking ntex-util v0.1.17
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling ntex-macros v0.1.3
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking ntex-bytes v0.1.15
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ntex-bytes v0.1.15 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking ntex-codec v0.6.2
[INFO] [stderr]     Checking ntex-router v0.5.1
[INFO] [stderr]     Checking ntex-io v0.1.8
[INFO] [stderr]     Checking ntex-tls v0.1.5
[INFO] [stderr]     Checking ntex-tokio v0.1.3
[INFO] [stderr]     Checking ntex-connect v0.1.0
[INFO] [stderr]     Checking ntex-h2 v0.1.0
[INFO] [stderr]     Checking ntex v0.5.20
[INFO] [stdout] error[E0407]: method `bytes` is not a member of trait `Buf`
[INFO] [stdout]   --> benches/buf.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     fn bytes(&self) -> &[u8] {
[INFO] [stdout] 57 | |         if self.readlen == 0 {
[INFO] [stdout] 58 | |             Default::default()
[INFO] [stdout] 59 | |         } else {
[INFO] [stdout] 60 | |             &self.buf[self.pos..self.pos + self.readlen]
[INFO] [stdout] 61 | |         }
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `Buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `bytes` is not a member of trait `Buf`
[INFO] [stdout]   --> benches/buf.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | /     fn bytes(&self) -> &[u8] {
[INFO] [stdout] 91 | |         self.inner.bytes()
[INFO] [stdout] 92 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `Buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `chunk`
[INFO] [stdout]   --> benches/buf.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Buf for TestBuf {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ missing `chunk` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn chunk(&self) -> &[u8] { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `chunk`
[INFO] [stdout]   --> benches/buf.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl Buf for TestBufC {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ missing `chunk` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn chunk(&self) -> &[u8] { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bytes` found for struct `TestBuf` in the current scope
[INFO] [stdout]   --> benches/buf.rs:91:20
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct TestBuf {
[INFO] [stdout]    | -------------- method `bytes` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 91 |         self.inner.bytes()
[INFO] [stdout]    |                    ^^^^^ method not found in `TestBuf`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `bytes`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::io::Read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Option<[u8; 1]>: ntex_bytes::Buf` is not satisfied
[INFO] [stdout]    --> benches/buf.rs:139:31
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     let buf = &mut buf as &mut dyn Buf; // type erasure
[INFO] [stdout]     |                               ^^^^^^^^ the trait `ntex_bytes::Buf` is not implemented for `Option<[u8; 1]>`
[INFO] [stdout] ...
[INFO] [stdout] 162 |     bench!(option, option);
[INFO] [stdout]     |     ---------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `ntex_bytes::Buf`:
[INFO] [stdout]               &[u8]
[INFO] [stdout]               &mut T
[INFO] [stdout]               &str
[INFO] [stdout]               Box<T>
[INFO] [stdout]               BytesMut
[INFO] [stdout]               BytesVec
[INFO] [stdout]               TestBuf
[INFO] [stdout]               TestBufC
[INFO] [stdout]             and 2 others
[INFO] [stdout]     = note: required for the cast to the object type `dyn ntex_bytes::Buf`
[INFO] [stdout]     = note: this error originates in the macro `bench` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0407, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ntex-bytes` due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused return value of `core::slice::<impl [T]>::as_ptr` that must be used
[INFO] [stdout]    --> tests/test_bytes.rs:442:5
[INFO] [stdout]     |
[INFO] [stdout] 442 |     bytes.as_ptr();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::slice::<impl [T]>::as_ptr` that must be used
[INFO] [stdout]    --> tests/test_bytes.rs:492:5
[INFO] [stdout]     |
[INFO] [stdout] 492 |     bytes.as_ptr();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::slice::<impl [T]>::as_mut_ptr` that must be used
[INFO] [stdout]    --> tests/test_bytes.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 493 |     bytes.as_mut_ptr();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::slice::<impl [T]>::as_ptr` that must be used
[INFO] [stdout]    --> tests/test_bytes.rs:554:5
[INFO] [stdout]     |
[INFO] [stdout] 554 |     bytes.as_ptr();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::slice::<impl [T]>::as_mut_ptr` that must be used
[INFO] [stdout]    --> tests/test_bytes.rs:555:5
[INFO] [stdout]     |
[INFO] [stdout] 555 |     bytes.as_mut_ptr();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "98906d5b32809f33dd8eced6768d1d53dc27378b81ede57793702f05f12ccdd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98906d5b32809f33dd8eced6768d1d53dc27378b81ede57793702f05f12ccdd3", kill_on_drop: false }`
[INFO] [stdout] 98906d5b32809f33dd8eced6768d1d53dc27378b81ede57793702f05f12ccdd3
